class CreateOffers < ActiveRecord::Migration
  def self.up
    create_table :offers do |t|
      t.column :user_id, :int
      t.column :auction_id, :int
      t.column :price, :string
      t.column :quantity, :int
      t.column :date, :datetime
      t.timestamps
    end
  end

  def self.down
    drop_table :offers
  end
end
